# Use the official Julia base image
FROM julia:1.11


# Set the working directory
WORKDIR /workspace

# Install VS Code Remote dependencies
RUN apt-get update && apt-get install -y \
    curl \
    git \
    bash \
    unzip \
    && rm -rf /var/lib/apt/lists/*

COPY Project.toml ./
RUN julia -e 'using Pkg; Pkg.activate("."); Pkg.instantiate()'

# Expose the necessary ports
EXPOSE 8888 5555

# Set the entrypoint for Julia
CMD ["julia"]
